package com.schoolComments.utils.lock;

/**
 * @author 马园博
 * @date 2023/05/04/11:50
 * @Project hm-dianping
 **/
public interface ILock {
    //获取分布式锁
    boolean getLock(long timeoutSec);
    //释放分布式锁
    void unlock();
}
